#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
#include "routeguide.h"

MainWindow::MainWindow(QWidget* parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_clicked()
{
    qDebug() << "-------------- GetFeature --------------" ;
    g_client->GetFeature();
}

void MainWindow::on_pushButton_2_clicked()
{
    qDebug() << "-------------- ListFeatures --------------" ;
    g_client->ListFeatures();

}

void MainWindow::on_pushButton_3_clicked()
{
    qDebug() << "-------------- RecordRoute --------------" ;
    g_client->RecordRoute();
}

void MainWindow::on_pushButton_4_clicked()
{
    qDebug() << "-------------- RouteChat --------------" ;
    g_client->RouteChat();
}

